package top.eati.linguisticsdept.dict.springmvc

import apijson.framework.APIJSONController
import org.springframework.stereotype.Service
import org.springframework.web.bind.annotation.*
import javax.servlet.http.HttpSession

@Service
@RestController
@RequestMapping("apijson")
class MainCtrller : APIJSONController() {
    @PostMapping("get")
    override fun get(@RequestBody request: String?, session: HttpSession?): String {
        return super.get(request, session);
    }

    companion object {
        const val APIJSON_DELEGATE_ID = ""
    }
}